

<%@ page import="mileena.AppAddress" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'appAddress.label', default: 'AppAddress')}" />
        <title><g:message code="default.create.label" args="[entityName]" /></title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></span>
            <span class="menuButton"><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></span>
        </div>
        <div class="body">
            <h1><g:message code="default.create.label" args="[entityName]" /></h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <g:hasErrors bean="${appAddressInstance}">
            <div class="errors">
                <g:renderErrors bean="${appAddressInstance}" as="list" />
            </div>
            </g:hasErrors>
            <g:form action="save" >
                <div class="dialog">
                    <table>
                        <tbody>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="appAddressStreetName"><g:message code="appAddress.appAddressStreetName.label" default="App Address Street Name" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: appAddressInstance, field: 'appAddressStreetName', 'errors')}">
                                    <g:textField name="appAddressStreetName" value="${appAddressInstance?.appAddressStreetName}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="appAddressStreetNumber"><g:message code="appAddress.appAddressStreetNumber.label" default="App Address Street Number" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: appAddressInstance, field: 'appAddressStreetNumber', 'errors')}">
                                    <g:textField name="appAddressStreetNumber" value="${appAddressInstance?.appAddressStreetNumber}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="appAddressFloor"><g:message code="appAddress.appAddressFloor.label" default="App Address Floor" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: appAddressInstance, field: 'appAddressFloor', 'errors')}">
                                    <g:textField name="appAddressFloor" value="${appAddressInstance?.appAddressFloor}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="appAddressNeighbourhood"><g:message code="appAddress.appAddressNeighbourhood.label" default="App Address Neighbourhood" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: appAddressInstance, field: 'appAddressNeighbourhood', 'errors')}">
                                    <g:textField name="appAddressNeighbourhood" value="${appAddressInstance?.appAddressNeighbourhood}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="appAddressProvince"><g:message code="appAddress.appAddressProvince.label" default="App Address Province" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: appAddressInstance, field: 'appAddressProvince', 'errors')}">
                                    <g:textField name="appAddressProvince" value="${appAddressInstance?.appAddressProvince}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="appAddressState"><g:message code="appAddress.appAddressState.label" default="App Address State" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: appAddressInstance, field: 'appAddressState', 'errors')}">
                                    <g:textField name="appAddressState" value="${appAddressInstance?.appAddressState}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="appAddressLatitude"><g:message code="appAddress.appAddressLatitude.label" default="App Address Latitude" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: appAddressInstance, field: 'appAddressLatitude', 'errors')}">
                                    <g:textField name="appAddressLatitude" value="${appAddressInstance?.appAddressLatitude}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="appAddressLongitute"><g:message code="appAddress.appAddressLongitute.label" default="App Address Longitute" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: appAddressInstance, field: 'appAddressLongitute', 'errors')}">
                                    <g:textField name="appAddressLongitute" value="${appAddressInstance?.appAddressLongitute}" />
                                </td>
                            </tr>
                        
                        </tbody>
                    </table>
                </div>
                <div class="buttons">
                    <span class="button"><g:submitButton name="create" class="save" value="${message(code: 'default.button.create.label', default: 'Create')}" /></span>
                </div>
            </g:form>
        </div>
    </body>
</html>
